#include<gflags/gflags.h>
#include<iostream>



DEFINE_bool(reuse_addr,true,"是否开发网络地址重用选项");
DEFINE_int32(log_level,1234,"日志等级");
DEFINE_string(log_file,"strout","输出文件位置");


int main(int argc,char* argv[])
{
    google::ParseCommandLineFlags(&argc,&argv,true);
    std::cout<<FLAGS_reuse_addr<<std::endl;
    std::cout<<FLAGS_log_level<<std::endl;
    std::cout<<FLAGS_log_file<<std::endl;




    return 0;
}